)*
}}
}
- lacking!(description, license || license_file)
+ lacking!(description, license || license_file, documentation || homepage || repository)
if !missing.is_empty() {
let mut things = missing.slice_to(missing.len() - 1).connect(", ");
compiling = COMPILING,
dir = p.url()).as_slice())
.with_stderr("\
-warning: manifest has no description, license or license-file. See \
+warning: manifest has no description, license, license-file, documentation, \
+homepage or repository. See \
http://doc.crates.io/manifest.html#package-metadata for more info."));
let p = project("one")
compiling = COMPILING,
dir = p.url()).as_slice())
.with_stderr("\
-warning: manifest has no description. See \
+warning: manifest has no description, documentation, homepage or repository. See \
http://doc.crates.io/manifest.html#package-metadata for more info."));
- let p = project("both")
+ let p = project("all")
.file("Cargo.toml", format!(r#"
[project]
name = "foo"
authors = []
license = "MIT"
description = "foo"
+ repository = "bar"
"#))
.file("src/main.rs", r#"
fn main() {}